package com.lzm.niukeapi.api;

import com.lzm.niukeapi.api.factory.NiuKeRemoteApiFallbackFactory;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;


/**
 * @author hejinwu
 */
@Component
@FeignClient(contextId = "NiuKeRemoteApi", value = "niuKeBiz", fallback = NiuKeRemoteApiFallbackImpl.class, fallbackFactory = NiuKeRemoteApiFallbackFactory.class)
public interface NiuKeRemoteApi {

    @GetMapping("/deptEmp/getTest")
    String getTest();
}
